/**
 * <pre>
 * Title: 		MessagePackage.java
 * Project: 	MSWAP
 * Author:		linriqing
 * Create:	 	2013-5-7 下午02:12:42
 * Copyright: 	Copyright (c) 2013
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.msls.port.client.message;

import java.io.Serializable;

import com.hengpeng.msls.port.client.vo.client.WapTransType;


/**
 * <pre>
 * Access消息包
 * </pre>
 * @author linriqing
 * @version 1.0, 2013-5-7
 */
public class MessagePackage implements Serializable
{
	private static final long serialVersionUID = 5377908114733384634L;

	private String clientId;

	private String digest;

	private String message;

	private String messageId;

	private String transTime;

	private WapTransType transType;

	private String responseCode = "000";

	private String responseMessage = "";

	public MessagePackage()
	{
		super();
	}

	/**
	 * 构造函数
	 * @param clientId 客户端编号
	 * @param messageId 消息编号
	 * @param transType 交易类型
	 * @param transTime 交易时间
	 * @param digest 摘要信息
	 * @param message 消息体
	 */
	public MessagePackage(String clientId, String messageId, WapTransType transType, String transTime, String digest,
			String message)
	{
		super();
		this.clientId = clientId;
		this.messageId = messageId;
		this.digest = digest;
		this.message = message;
		this.transTime = transTime;
		this.transType = transType;
	}

	/**
	 * @return 客户端编号
	 */
	public String getClientId()
	{
		return clientId;
	}

	/**
	 * @return 摘要信息
	 */
	public String getDigest()
	{
		return digest;
	}

	/**
	 * @return 交易消息体
	 */
	public String getMessage()
	{
		return message;
	}

	/**
	 * @return 消息编号
	 */
	public String getMessageId()
	{
		return messageId;
	}

	/**
	 * @return 响应码
	 */
	public String getResponseCode()
	{
		return responseCode;
	}

	/**
	 * @return 响应描述
	 */
	public String getResponseMessage()
	{
		return responseMessage;
	}

	/**
	 * @return 交易时间
	 */
	public String getTransTime()
	{
		return transTime;
	}

	/**
	 * @return 交易类型
	 */
	public WapTransType getTransType()
	{
		return transType;
	}

	public void setClientId(String clientId)
	{
		this.clientId = clientId;
	}

	public void setDigest(String digest)
	{
		this.digest = digest;
	}

	/**
	 * @param message 交易消息体
	 */
	public void setMessage(String message)
	{
		this.message = message;
	}

	public void setMessageId(String messageId)
	{
		this.messageId = messageId;
	}

	/**
	 * @param responseCode 响应码
	 */
	public void setResponseCode(String responseCode)
	{
		this.responseCode = responseCode;
	}

	/**
	 * @param responseMessage 响应描述
	 */
	public void setResponseMessage(String responseMessage)
	{
		this.responseMessage = responseMessage;
	}

	public void setTransTime(String transTime)
	{
		this.transTime = transTime;
	}

	public void setTransType(WapTransType transType)
	{
		this.transType = transType;
	}

}
